<?php
$seosql="select tag,id,url from ".$BIAOTOU."seo";
$seo_rs = mysql_query($seosql);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>SEO后台管理</title>
<link href="css/reset.css" rel="stylesheet" type="text/css" />
<link href="css/system.css" rel="stylesheet" type="text/css" />
<link href="css/table_form.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="js/formvalidator.js" charset="UTF-8"></script>
<script language="javascript" type="text/javascript">
function showconfirm(url)
{
	window.location.href=url; 
}
</script>
</head>

<body>
<div class="subnav">
  <div class="content-menu ib-a blue line-x"> <a ><em>
页面管理</em></a><span>|</span>请阅读提示进行设置
    <div id="callback" class="hidden pa" style="height:30px;top:13px;left:235px"></div>
  </div>
</div>
<div class="pad_10">
  <div class="explain-col"> 温馨提示：这里管理了每个页面的seo自定义<br />
  </div>
  <div class="bk10"></div>
  <div class="col-tab">
    <div id="div_setting_1" class="contentList pad_10">
      <form name="thisForm" action="?act=lable&tag=<?=$tag?>&a=save" method="post" id="myform">
        <table width="100%"  class="table_form">
        
          <?php while ($seo_row = mysql_fetch_array($seo_rs)){?>
    <tr>
            <td width="120"><?=$seo_row[tag]?>页面</td>
            <td><input name="delall" type="button" id="delall"  onclick="javascript:showconfirm('index.php?act=lable&tag=<?=$seo_row[tag]?>')" value="设置" class="button" />
            <input name="delall" type="button" id="delall" value="效果" onclick="window.open('../../<?=$seo_row[url]?>')" class="button" />
            </td>
          </tr>
    <?php
}?>
          <tr>
            <td>新增页面</td>
            <td><input name="delall" type="button" id="delall"  onclick="javascript:showconfirm('index.php?act=add')" value="新增" class="button" />
          </td>
          </tr>
        </table>
      </form>
      <div class="bk15"></div>
    </div>
  </div>
</div>
</body>
</html>